package com.yunjian.core.basic.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yunjian.core.basic.mapper.UserFileMapper;
import com.yunjian.core.basic.model.UserFile;
import com.yunjian.core.basic.model.UserFileExample;
import com.yunjian.core.basic.service.UserFileService;

@Service
public class UserFileServiceImpl implements UserFileService{
	
	//private final static Logger logger = LoggerFactory.getLogger(UserFileServiceImpl.class);
	
	@Autowired
	private UserFileMapper mapper;

	@Override
	public int countByExample(UserFileExample example) {
		return mapper.countByExample(example);
	}

	@Override
	public int deleteByExample(UserFileExample example) {
		return mapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(String userId) {
		return mapper.deleteByPrimaryKey(userId);
	}

	@Override
	public int insert(UserFile record) {
		return mapper.insert(record);
	}

	@Override
	public int insertSelective(UserFile record) {
		return mapper.insertSelective(record);
	}

	@Override
	public List<UserFile> selectByExample(UserFileExample example) {
		return mapper.selectByExample(example);
	}

	@Override
	public UserFile selectByPrimaryKey(String userId) {
		return mapper.selectByPrimaryKey(userId);
	}

	@Override
	public int updateByExampleSelective(UserFile record, UserFileExample example) {
		return mapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(UserFile record, UserFileExample example) {
		return mapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(UserFile record) {
		return mapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(UserFile record) {
		return mapper.updateByPrimaryKey(record);
	}
	
}
